#ifndef _JDEBUG_H_
#define _JDEBUG_H_
#include "JType.h"

namespace JJc{
class JDebug
{
public:
    static void Trace       ( const wchar* output );
    static void OutputString( wchar* format, ... );
};

#ifdef _DEBUG
#define TRACE(x)         JDebug::Trace((x));
#define OUTPUTSTR(x,...) JDebug::OutputString(x, ##__VA_ARGS__ );
#define NEWLINE          JDebug::Trace(L"\n");

#else
#define TRACE(x)   ((void)0)
#define TRACEER(x) ((void)0)
#define OUTPUTSTR(x) ((void)0)	
#endif

}
#endif